<script language="JavaScript1.2">
  <!--
  function CheckForm(form) {
    strs = "";

    if (form.Nama.value == "") {
      strs += "Nama Biaya tidak boleh kosong\n"; }

    if (strs != "") alert(strs);
    return strs == "";
  }
  -->
</script>

<h4>MANAJEMEN SPP MAHASISWA &raquo; <span class="current_page">TAMBAH RINCIAN SPP MAHASISWA</span></h4>

            <!-- Begin three column window -->
<div class="onecolumn" style="padding-bottom:20px">
    <div class="header">
    <span>TAMBAH RINCIAN SPP MAHASISWA</span>
	</div>
	<br class="clear"/>


  <div class="content">
      <br />
       <form onsubmit="return CheckForm(this)" style="display: inline; margin: 0;" method="POST" action="<?php echo site_url('siku/tambahSPP.do') ?>">
          <table cellpadding="0" cellspacing="0" border="0" style="margin-left: 15px">
            <tbody>
            <tr height="35px">
              <td class="inp1">Nama Biaya</td>
              <td class="ul"><input type="text" maxlength="50" size="40" value="" name="Nama"></td>
            </tr>
            <tr height="35px">
              <td class="inp1">Prodi</td>
              <td class="ul">
                <?php echo form_dropdown('prodi', generate_options($options_prodi,'KODE','NAMA','ori'),set_value('prodi'),'KODE="prodi"'); ?>
              </td>
            </tr>
            <tr height="35px">
              <td class="inp1">Angkatan</td>
              <td class="ul">
                <select name="angkatan" id="angkatan">
  		        <?php foreach($angkatan as $key): ?>
  		           <option value="<?php echo $key->ANGKATAN ?>">20<?php echo $key->ANGKATAN ?></option>
                  <?php endforeach ?>
                </select>
              </td>
            </tr>
            <tr height="35px">
              <td class="inp1" style="padding-right:5px">Status Penerimaan</td>
              <td class="ul"><?php echo form_dropdown('penerimaan', generate_options($options_jalur,'ID','DESKRIPSI','ori'),set_value('penerimaan'),'id="penerimaan"'); ?></td>
            </tr>
            <tr height="35px">
              <td class="inp1">Program</td>
              <td class="ul">
                <select name="programID">
                  <?php foreach($options_program as $p): ?>
                         <?php if ($p->ProgramID == $program_post): $selected = 'selected'; ?>
                         <?php else: $selected = ''; ?> <?php endif; ?>
                         <?php echo '<option value="'.$p->ProgramID.'" '.$selected.'>'.$p->ProgramID.' - '.$p->Nama.'</option>'; ?>
                  <?php endforeach; ?>
                </select>
              </td>
            </tr>
            <tr height="35px">
              <td class="inp1">Jenis Angsuran</td>
              <td class="ul"><?php echo form_dropdown('tagihan', generate_options($options_tagihan,'ID','DESKRIPSI','ori'),set_value('tagihan')); ?></td>
            </tr>
            <tr height="35px">
              <td class="inp1">Nominal Biaya</td>
              <td class="ul"><input type="text" maxlength="20" size="15" value="0" name="DefJumlah"></td>
            </tr>
            <tr>
              <td colspan="2" style="padding-top:30px">
                <input type="submit" class="sexybutton sexysimple sexygreen" value="Simpan" name="Simpan">
                <input type="reset" class="sexybutton sexysimple sexyblue" value="Reset" name="Reset">
                <input type="button" class="sexybutton sexysimple sexymagenta" onclick="location='<?php echo site_url('siku/inisiasi.html') ?>'" value="Batal" name="Batal">
              </td>
            </tr>
            </tbody>
          </table>
       </form>

      <br />
  </div>
</div>